Contents of the Status Registers    Related Topics

The individual status registers are used to report different classes of instrument states or errors. The following status registers belong to the general model described in IEEE 488.2:  

The status registers below belong to the device-dependent SCPI register model:


STB and SRE

The STatus Byte (STB) provides a rough overview of the instrument status by collecting the pieces of information of the lower registers. The STB represents the highest level within the SCPI hierarchy. A special feature is that bit 6 acts as the summary bit of the remaining bits of the status byte.

SRE and Service Request

The STatus Byte (STB) is linked to the Service Request Enable (SRE) register on a bit-by-bit basis.

Bit 6 of the SRE is ignored, because it corresponds to the summary bit of the STB.

Related common commands

The STB is read out using the command *STB? or a serial poll.

The SRE can be set using command *SRE and read using *SRE?.

The bits in the STB are defined as follows:

Bit No.

Meaning

3

QUEStionable status summary bit

This bit is set if an EVENt bit is set in the QUEStionable register and the associated ENABle bit is set to 1.

The bit indicates a questionable instrument status, which can be further pinned down by polling the QUEStionable register.

5

ESB bit

Sum bit of the event status register. It is set if one of the bits in the event status register is set and enabled in the event status enable register.

Setting of this bit implies an error or an event which can be further pinned down by polling the event status register.

 


IST Flag and PPE

In analogy to the Service Request (SRQ), the IST flag combines the entire status information in a single bit. It can be queried by means of a parallel poll.

The Parallel Poll Enable (PPE) register determines which bits of the STB contribute to the IST flag. The bits of the STB are ANDed with the corresponding bits of the PPE, with bit 6 being used as well in contrast to the SRE. The IST flag results from the ORing of all results.

Related common commands

The IST flag is queried using the command *IST?.

The PPE can be set using *PRE and read using command *PRE?.


ESR and ESE

The Event Status Register (ESR) indicates general instrument states. It is linked to the Event Status Enable (ESE) register on a bit-by-bit basis.

Related common commands

The Event Status Register (ESR) can be queried using ESR?.

The Event Status Enable (ESE) register can be set using the command *ESE and read using *ESE?.

The bits in the ESR are defined as follows:

Bit No.

Meaning

0

Operation Complete 

This bit is set on receipt of the command *OPC after all previous commands have been executed. 


STATus:OPERation

The STATus:OPERation register contains conditions which are part of the instrument's normal operation.

The analyzer does not use the STATus:OPERation register:


STATus:QUEStionable

The STATus:QUEStionable register indicates whether the data currently being acquired is of questionable quality. It can be queried using the commands STATus:QUEStionable:CONDition? or STATus:QUEStionable[:EVENt]?

The bits in the STATus:QUEStionable register are defined as follows:

Bit No.

Meaning

10

Limit Register summary

This bit is set if a bit is set in the STATus:QUEStionable:LIMit1 register and the associated ENABle bit is set to 1. 

 


STATus:QUEStionable:LIMit1<1|2>

The STATus:QUEStionable:LIMit<1|2> registers indicate the result of the limit check. They can be queried using the commands STATus:QUEStionable:LIMit<1|2>:CONDition? or STATus:QUEStionable:LIMit<1|2>[:EVENt]? STATus:QUEStionable:LIMit1 is also the summary register of the lower-level STATus:QUEStionable:LIMit2 register.

The bits in the STATus:QUEStionable:LIMit1 register are defined as follows:

Bit No.

Meaning

0

LIMit2 Register summary

This bit is set if a bit is set in the STATus:QUEStionable:LIMit2 register and the associated ENABle bit is set to 1. 

1

Failed Limit Check for Trace no. 1

This bit is set if any point on trace no. 1 fails the limit check. 

...

...

14

Failed Limit Check for Trace no. 14

This bit is set if any point on trace no. 14 fails the limit check. 

 

The bits in the STATus:QUEStionable:LIMit2 register are defined as follows:

Bit No.

Meaning

0

Not used

1

Failed Limit Check for Trace no. 15

This bit is set if any point on trace no. 15 fails the limit check. 

2

Failed Limit Check for Trace no. 16

This bit is set if any point on trace no. 16 fails the limit check. 

 

Numbering of traces

The traces numbers 1 to 16 are assigned as follows: